package com.mentalhealthplatform.studentV3.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.UUID;

/**
 * @author Pear
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class AssessmentDTOV3 {

    private Long id;
    private int score;
    private String evaluation;
    private String studentName;
    private String college;
    private String major;
    private String gender;
    private String grade;
    private UUID studentId;

    @JsonProperty("submitted_time")
    private LocalDateTime  submittedTime;

    // 构造函数
    public AssessmentDTOV3(Long id, int score, String evaluation, LocalDateTime submittedTime,
                           String studentName, String college,
                           String major, String gender, String grade, UUID studentId) {
        this.id = id;
        this.score = score;
        this.evaluation = evaluation;
        this.submittedTime = submittedTime;
        this.studentName = studentName;
        this.college = college;
        this.major = major;
        this.gender = gender;
        this.grade = grade;
        this.studentId = studentId;
    }

    public AssessmentDTOV3(Long id, int score, String evaluation, LocalDateTime submittedTime, UUID studentId) {
        this.id = id;
        this.score = score;
        this.evaluation = evaluation;
        this.submittedTime = submittedTime;
        this.studentId = studentId;
    }
    // 无参构造函数
    public AssessmentDTOV3() {
    }

}